package com.ws.undercitywarriorsgame.entity;

import lombok.Getter;

/**
 * @author 王硕
 * @version jdk21
 * @className Goblin
 * @description
 * @date 2024/11/8 16:48
 */

public class Goblin extends Monster{
    private int Berserk;

    public Goblin(String name, int healthvalue, int attackvalue, int defensevalue, int Berserk) {
        super(name, healthvalue, attackvalue, defensevalue);
        this.Berserk = Berserk;
    }


    @Override
    public void attack(){
        System.out.println(getName()+"使用石头进行攻击。。。。。。。。。。。。。");
    }
    @Override
    public void move(){
        System.out.println(getName()+"缓慢移动。。。。。。。。。。。。。");
    }
}
